package com.mindbook.vip.gawxchatinfo.mapper.nostrum;

import com.mindbook.vip.gawxchatinfo.entity.nostrum.FunctionLink;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FunctionLinkMapper {

    /**
     * 根据两个主键查询数据详情
     * @param id
     * @param nostrumFunctionidId
     * @return
             */
    FunctionLink findByIdAndNostrumFunctionId(@Param("id") Integer id, @Param("nostrumFunctionidId") Integer nostrumFunctionidId);

    List<FunctionLink> findAll();

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table function_link
     *
     * @mbg.generated Sun Jul 17 15:10:38 CST 2022
     */
    int deleteByPrimaryKey(@Param("id") Integer id, @Param("nostrumFunctionidId") Integer nostrumFunctionidId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table function_link
     *
     * @mbg.generated Sun Jul 17 15:10:38 CST 2022
     */
    int insert(FunctionLink record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table function_link
     *
     * @mbg.generated Sun Jul 17 15:10:38 CST 2022
     */
    int insertSelective(FunctionLink record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table function_link
     *
     * @mbg.generated Sun Jul 17 15:10:38 CST 2022
     */
    FunctionLink selectByPrimaryKey(@Param("id") Integer id, @Param("nostrumFunctionidId") Integer nostrumFunctionidId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table function_link
     *
     * @mbg.generated Sun Jul 17 15:10:38 CST 2022
     */
    int updateByPrimaryKeySelective(FunctionLink record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table function_link
     *
     * @mbg.generated Sun Jul 17 15:10:38 CST 2022
     */
    int updateByPrimaryKey(FunctionLink record);
}